package com.lee.boot.head.first.demo.redis.service;

import com.lee.boot.head.first.demo.redis.entity.Owner;


import java.util.List;

public interface OwnerService {
    Owner insertOwner(Owner owner);

    Owner getOneByName(String name);

    Owner getOwner(Long id);

    List<Owner> listOwner();

    void deleteOwner(Long id);
}
